<template>
    <div class="my-test">
        <!-- 我这个组件封装一个左右结构的布局出来 -->
        <div class="left">
            <slot name="left"></slot>
        </div>
        <div class="right">
            <!-- 插槽 -->
            <slot name="right"></slot>
        </div>
    </div>
</template>

<script>
export default {

}
</script>

<style scoped>
.my-test{
    display: flex;
    justify-content: space-between;
}
</style>